<?php
namespace app\admin\Validate;
use \think\Validate;
class Video extends Validate{
	protected $rule = [
		'videoname' => 'require|max:4', //'videoname' videoname那个位置写的是要验证的数组的下标
	];
}